home *** CD-ROM | disk | FTP | other *** search
/ develop, the CD; issue 1 / Apple_Develop_1989.bin / Compatibility / About Sample next >
Text File  |  1989-04-01  |  2KB  |  68 lines

  1. ________________________________________________________________________
  2. Macintosh Sample Code
  3.  
  4. #1: Sample
  5.  
  6. by Darin Adler, Mark Bennett, and Jim Reekes
  7.  
  8. Versions:        1.00                     08/88
  9.                 1.01                    11/88
  10.                 1.02                    04/89
  11.  
  12. Components:     Sample.p                April 1, 1989
  13.                 Sample.c                April 1, 1989
  14.                 Sample.a                April 1, 1989
  15.                 Sample.inc1.a            April 1, 1989
  16.                 SampleMisc.a            April 1, 1989
  17.                 Sample.r                April 1, 1989
  18.                 Sample.h                April 1, 1989
  19.                 PSample.make            April 1, 1989
  20.                 CSample.make            April 1, 1989
  21.                 ASample.make            April 1, 1989
  22. ________________________________________________________________________
  23.  
  24. Major changes since 1.0
  25. The way that memory availability is checked and handled at 
  26. initialization has been revamped. The way windows are 
  27. closed has changed sustantially. An error message dialog
  28. has been added to better inform users, and error handling 
  29. in general is much  improved. Finally, a funny hack was put 
  30. into the C version so that we could call PurgeSpace under
  31. MPW 2.0.2.
  32.  
  33. Search in the code for ``1.01'' to find all the specific 
  34. changes.
  35.  
  36. Major changes since 1.01
  37. Any dependency on MPW 2.0 has been removed; this version 
  38. requires MPW 3.0 or later. An improvement was made to 
  39. TrapAvailable to handle differences between Pre-MacII
  40. machines and MacII and later machines.
  41.  
  42. Search in the code for ``1.02'' to find all the specific 
  43. changes.
  44. ________________________________________________________________________
  45.  
  46. Sample is an example application that demonstrates how to 
  47. initialize the commonly used toolbox managers, operate 
  48. successfully under MultiFinder, handle desk accessories, 
  49. and create, grow, and zoom windows.
  50.  
  51. It does not by any means demonstrate all the techniques you 
  52. need for a large application. In particular, Sample does 
  53. not cover exception handling, multiple windows/documents,
  54. sophisticated memory management, printing, or undo. All of 
  55. these are vital parts of a normal full-sized application.
  56.  
  57. This application is an example of the form of a Macintosh 
  58. application; it is NOT a template. It is NOT intended to be 
  59. used as a foundation for the next world-class, best-selling, 
  60. 600K application. A stick figure drawing of the human body 
  61. may be a good example of the form for a painting, but that 
  62. does not mean it should be used as the basis for the next 
  63. Mona Lisa.
  64.  
  65. We recommend that you review this program or TESample before 
  66. beginning a new application.
  67.  
  68.